package org.example.ws.pojo;

import jakarta.websocket.Session;
import lombok.Data;

/**
 * ClassName: VolunteerSession
 * Description:
 *
 * @Author Kotaro
 * @Create 2025/1/9 16:13
 * @Version 1.0
 */
@Data
public class VolunteerSession {
    private Session session;
    private Integer unreadMessages;


    public VolunteerSession() {
    }

    public VolunteerSession(Session session){
        this.session = session;
        this.unreadMessages = 0; //初始化未读消息数为0
    }
}
